// 图片切割 合并 js处理不了二进制文件

const buf1 = Buffer.alloc(10)
console.log(buf1)

const buf2 = Buffer.from('a')
console.log(buf2)

const buf3 = Buffer.from('中')
console.log(buf3) //utf-8 utf-16 utf-32

const buf4 = Buffer.concat([buf2,buf3])
console.log(buf4,buf4.toString())

